# from fdfs_client.client import Fdfs_client
#
#
# # 通过阅读源码  得出上传upload  下载  删除的方法
#
# if __name__ == '__main__':
#     client = Fdfs_client('client.conf')
#     # 上传
#     data = client.upload_by_filename("/home/python/Desktop/1.jpg")
#     # 传回有Remote_file_id
#     print(data)
#     # 修改==========>内部实现又饿完那体
#     data = client.modify_by_file("/home/python/Desktop/1.jpg","文件路径")
#     print(data)
#
#
#     # 删除
#     data = client.delete_file("远程文件名")
#     print(data)